#ifndef DISPLAY_INFO_BUTTON_H
#define DISPLAY_INFO_BUTTON_H

#include <QWidget>
#include <QIcon>

namespace Ui {
class DisplayInfoButton;
}

class DisplayInfoButton : public QWidget
{
    Q_OBJECT

public:
    explicit DisplayInfoButton(QWidget *parent = nullptr);
    ~DisplayInfoButton();
    void setInfo(QIcon icon, QString key, QString value);
    void setValue(QString value);
    void paintEvent(QPaintEvent *event) override;

protected:
    void mouseReleaseEvent(QMouseEvent *event) override;

signals:
    void clicked();


private:
    Ui::DisplayInfoButton *ui;
};

#endif // DISPLAY_INFO_BUTTON_H
